]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/volume: Document public function
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 15 Jul 2022 12:23:23 +0000 (14:23 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Jul 2022 12:56:46 +0000 (14:56 +0200)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2380>

js/ui/status/volume.js

index 744d650e9b11c0c2c4fb61f747c2b05eefa91295..bbbfb454bee6890c62b186217ad1289d8d9375cf 100644 (file)
@@ -19,6 +19,9 @@ const VolumeType = {
 // Each Gvc.MixerControl is a connection to PulseAudio,
 // so it's better to make it a singleton
 let _mixerControl;
+/**
+ * @returns {Gvc.MixerControl} - the mixer control singleton
+ */
 function getMixerControl() {
     if (_mixerControl)
         return _mixerControl;